package com.yuxinmuyu.sports_management.utils;

/**
 * @author Oven
 * @date 2022/10/5 9:50
 */
public class RedisKey {

    /**
     * 存用户信息
     */
    public static final String  LOGIN_INFO_KEY = "LOGIN:%s:INFO";

    /**
     * 存token信息
     */
    public static final String  LOGIN_TOKEN_KEY = "LOGIN:%s:TOKEN";


    /**
     * 免密登录redisKey
     */
    public static final String  FREE_LOGIN_TICKET_KEY = "free:login:ticket:%s";



    /**
     * 验证码redisKey
     */
    public static final String  LOGIN_CAPTCHA_KEY = "login_captcha_%s";


    /**
     * 登录方式redisKey
     */
    public static final String LOGIN_TYPE_KEY = "LOGIN:TYPE:KEY";




    /**
     * 用户普通权限redisKey
     */
    public static final String USER_BASIC_PERMISSION_KEY = "USER:BASIC:PERMISSION:%s";


    /**
     * 用户普通权限redisKey
     */
    public static final String USER_MANAGER_PERMISSION_KEY = "USER:MANAGER:PERMISSION:%s";

}
